package cn.virens.web.components.open.wxmp.config;

import cn.virens.database.mysql.model.wxmp.WxmpBase;

/**
 * 微信配置默认实例化对象
 * 
 * @author virens
 */
public class WxMpCacheConfigModel extends WxMpCacheConfigSimple {
	private static final long serialVersionUID = -7028067866206480893L;

	private WxmpBase mWxmpBase;

	@Override
	public String getAppId() {
		return mWxmpBase.getAppid();
	}

	@Override
	public String getToken() {
		return mWxmpBase.getToken();
	}

	@Override
	public String getSecret() {
		return mWxmpBase.getSecret();
	}

	@Override
	public String getAesKey() {
		return mWxmpBase.getAeskey();
	}

	public WxmpBase getWxmpBase() {
		return mWxmpBase;
	}

	public void setWxmpBase(WxmpBase mWxmpBase) {
		this.mWxmpBase = mWxmpBase;
	}
}
